package com.lening.organization.po;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

@Getter
@Setter
@TableName("department")
public class Department implements Serializable {
    @TableId(type = IdType.ASSIGN_ID)
    private Integer id;
    private String dname;
    private String principal;
    private String description;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    @TableField(fill = FieldFill.UPDATE)
    private LocalDateTime updateTime;
    private Integer status;
    @TableLogic
    private Integer deleted;
    @TableField(exist = false)
    private Integer uniquePeopleCount;
}
